package com.chaokang.controller;

import com.chaokang.feign.QuestionnaireFeign;
import com.chaokang.service.PraService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class PraController {
    @Resource
    public QuestionnaireFeign questionnaireFeign;
@Resource
private PraService praService;

    @GetMapping(value = "/pra")
    public String pra(){


        return "这是在commonuser中调用"+praService.getPra(1).getIphone();
    }
}
